﻿using System;
using System.Runtime.Serialization;
namespace He.Model
{
    /// <summary>
    /// category:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [DataContract]
    public partial class category
    {
        public category()
        { }
        #region Model

        /// <summary>
        /// 自动编号
        /// </summary>
        [DataMember(Name = "id")]
        public int id { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        [DataMember(Name = "title")]
        public string title { get; set; }
        /// <summary>
        /// 二级标题
        /// </summary>
        [DataMember(Name = "sub_title")]
        public string sub_title { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int parent_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string id_list { get; set; }
        /// <summary>
        /// 图层
        /// </summary>
        [DataMember(Name = "layer")]
        public int layer { get; set; }
        /// <summary>
        /// 种类id
        /// </summary>
        /// 
        [DataMember(Name = "sort_id")]
        public int sort_id { get; set; }
        /// <summary>
        /// 图片路径
        /// </summary>
        [DataMember(Name = "img_url")]
        public string img_url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string seo_title
        {
            get; set;
        }
        /// <summary>
        /// 关键字
        /// </summary>
        public string seo_keywords
        {
            get; set;
        }
        /// <summary>
        /// 排序
        /// </summary>
        public string seo_desc
        {
            get; set;
        }
        /// <summary>
        /// 内容
        /// </summary>
        [DataMember(Name = "content")]
        public string content
        {
            get; set;
        }
        /// <summary>
        /// 修改时间
        /// </summary>
        public string add_time
        {
            get; set;
        }
        /// <summary>
        /// 栏目id
        /// </summary>
        public int channel_id
        {
            get; set;
        }
        /// <summary>
        /// 
        /// </summary>
        public int is_protected
        {
            get; set;
        }
        /// <summary>
        /// 
        /// </summary>
        public string attr_str
        {
            get; set;
        }
        /// <summary>
        /// 
        /// </summary>
        public string link_url
        {
            get; set;
        }
        /// <summary>
        /// 
        /// </summary>
        public int? attr_num
        {
            get; set;
        }
        /// <summary>
        /// 
        /// </summary>
        public int? attr_num1
        {
            get; set;
        }
        #endregion Model

    }
}

